package org.example.psn.core.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.example.system.common.bean.BaseEntity;

/**
 * <p>
 * 权限信息
 * </p>
 *
 * @author Joey
 * @since 2021-05-11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="Role对象", description="权限信息")
public class Role extends BaseEntity {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "权限名称")
    @TableField("roleName")
    private String roleName;

    @ApiModelProperty(value = "权限标示")
    @TableField("roleKey")
    private String roleKey;

    @ApiModelProperty(value = "权限级别")
    @TableField("roleLevel")
    private Integer roleLevel;

    @ApiModelProperty(value = "权限类型")
    @TableField("roleType")
    private Integer roleType;

    @ApiModelProperty(value = "序号")
    @TableField("sortNum")
    private Integer sortNum;




}
